package com.wing.member.model.request.validator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用户是否存在
 *
 * @author
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = HasNotMemberAuthValidator.class )
public @interface HasNotMemberAuth {
    String message() default "{member.login.account.notExist}";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
